package s11.ch13.ex1;

import java.util.Date;

public class Car {
	public class Engine {
		public Long getType() {
			return type;
		}
		public void setType(Long type) {
			this.type = type;
		}
		public Long getValue() {
			return value;
		}
		public void setValue(Long value) {
			this.value = value;
		}
		private Long type;
		private Long value;
	}

	public class Trunk {
		private Long length;
		private Long higth;
		public Long getLength() {
			return length;
		}
		public void setLength(Long length) {
			this.length = length;
		}
		public Long getHigth() {
			return higth;
		}
		public void setHigth(Long higth) {
			this.higth = higth;
		}
	}

	private String brand;
	private Date age;
	private Trunk lengthOfTrunk;
	private Engine engine;
}
